package ee.propaganda.gparrot.client.model;

import java.util.Vector;

import com.google.gwt.user.client.rpc.AsyncCallback;


public interface DataServiceAsync {

	void update(LoginInfo loginInfo, ServiceInfo si,
			AsyncCallback<Vector<ServiceInfo>> callback);

	void getServices(LoginInfo loginInfo,
			AsyncCallback<Vector<ServiceInfo>> callback);

	void updateAll(LoginInfo loginInfo, Vector<ServiceInfo> registeredServices,
			AsyncCallback<Void> asyncCallback);

}
